package com.wenchao.Controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {
    // 新增的方法，用于触发打印函数
    @GetMapping("/test")
    public String printTest() {
        System.out.println("test");
        return "Test printed successfully";
    }
}
